import loadMore from './load-more';

const install = function(Vue) {
  Vue.directive('loadMore', loadMore);
};

if (window.Vue) {
  window['loadMore'] = loadMore;
  Vue.use(install); // eslint-disable-line
}

loadMore.install = install;
export default loadMore;
